import bean.SomeBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Auther:ws@itany.com
 * Date:20-9-15 下午3:50
 * Version:1.0
 * Description:
 */

public class Test {
    public static void main(String[] args){
        ApplicationContext ac = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
        SomeBean someBean = (SomeBean) ac.getBean("someBean");
        System.out.print(someBean);

    }
}
